package com.kzm.configuration;

import com.kzm.configuration.properties.BannerProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 这边这个@EnableConfigurationProperties 才能使BannerProperties 去与配置文件的值相映射
 */
@Configuration
@EnableConfigurationProperties(BannerProperties.class)
public class BannerAutoConfiguration {
}
